package com.novax.ex.activity.open.api;

import com.novax.ex.activity.open.model.query.BeebUserQuery;
import com.novax.ex.common.results.ReturnResult;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springdoc.core.annotations.ParameterObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Description
 * @Author zhaolei
 * @Date 10/24/24 3:27 PM
 * @Version 1.0
 */
@Tag(name = "Beeb 用户模块", description = "Beeb 用户模块")
@FeignClient(url = "${remote.activity-service.endpoint}", name = "BeebUserApi", contextId = "BeebUserApi")
@RequestMapping
public interface BeebUserApi {
    @Operation(summary = "初始化")
    @GetMapping("/v3/private/beeb/user/init")
    ReturnResult<?> init(@ParameterObject BeebUserQuery query);

    @Operation(summary = "初始化解锁")
    @GetMapping("/v3/private/beeb/unlock/init")
    ReturnResult<?> initUnlock(@ParameterObject BeebUserQuery query);

}
